//created by KI 22.04

#ifndef _PAGE_GENCHARS_H_
#define _PAGE_GENCHARS_H_

#include "afxwin.h"

// CPage_GEN_CHARS_SMP dialog

class CPage_GEN_CHARS : public CDialog
{
  DECLARE_DYNAMIC(CPage_GEN_CHARS)

public:
  CPage_GEN_CHARS(CWnd* pParent = NULL);   // standard constructor
  virtual ~CPage_GEN_CHARS();

  // Dialog Data
  enum { IDD = IDD_DIALOG_GEN_CHARS };

protected:
  virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

  DECLARE_MESSAGE_MAP()

public:
  virtual BOOL OnInitDialog();
  // variable for counting scrolling of dialog
  int m_VScrollCount, m_HScrollCount;
  virtual void GetClientRect(LPRECT lpRect);
  // scrolls the dialog
  void mScroll(int h, int v);

private:
  // functions prepares rectangle of control to move this control
  void PrepareRect(LPRECT pR, int h, int v);
  // variable will be true if the client size was scanned
  bool m_IsScannedClientRect;
  RECT m_OriginalClientRect;

public:
  CEdit m_Edit_FieldFlags;
  CStatic m_Static_VendorId;
  CEdit m_Edit_VendorId;
  CStatic m_Static_HardwareStatus;
  CEdit m_Edit_HardwareStatus;
  CStatic m_Static_MediaConnectStatus;
  CEdit m_Edit_MediaConnectStatus;
  CStatic m_Static_LinkSpeed;
  CEdit m_Edit_LinkSpeed;
  CStatic m_Static_MaximumFrameSize;
  CEdit m_Edit_MaximumFrameSize;
  CStatic m_Status_MaximumTotalSize;
  CEdit m_Edit_MaximumTotalSize;
  CStatic m_Static_PhysicalMedium;
  CEdit m_Edit_PhysicalMedium;
  CStatic m_Static_MaximumSendPackets;
  CEdit m_Edit_MaximumSendPackets;
  CStatic m_Static_MaximumTotalSize;
  CStatic m_Static_VendorDescription;
  CEdit m_Edit_VendorDescription;
  afx_msg void OnStnClickedMediasupported();
  afx_msg void OnStnClickedStaticVendordescription();
  afx_msg void OnStnClickedStaticMediasupported();
  afx_msg void OnEnChangeEdit9();
  CStatic m_Static_MediaSupported;
  CEdit m_Edit_MediaSupported;
  CStatic m_Static_MediaInUse;
  CEdit m_Edit_MediaInUse;
};

#endif
